import Vue from 'vue'
import VueResource from 'vue-resource'
import App from './App.vue'
import VueRouter from 'vue-router'
import routes from './routeConfig.js'
import './field'
Vue.use(VueRouter);
Vue.use(VueResource);

const router=new VueRouter({
// mode: 'history',
  routes
});

new Vue({
  el: '#app',
  router,
  render: h => h(App),

});
